<data_load> : Load Data From File To Variable
This command loads (textual) data from file (whole the content) and saves them in variable for further processing within the macro.
Syntax:
<data_load>("Variable", "File", "Reserved")
Variable
Variable that receives the file content (text).
File
Full path to the file with data (e.g., "c:\mydocuments\data.txt").
Reserved
Must be empty string "".
Example:
<#> This macro loads the file content to variable
<#>
<cmds>
<var_oper>(vFile,"",SELECT_FILE,"Select File","", "0")
<data_load>("vFileData","vFile","")
<msg>(-100,-100,"vFileData","File Content",1)